package com.mapper;

import com.pojo.User;
import com.util.Pager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User>{
    User searchByUser(@Param("name") String name, @Param("password") String password);
    List<User> searchUserPager(Pager<User> pager);
    User get(Integer id);
    Integer total(Pager pager);
    int deleteUser(Integer uid);


}
